package com.example.badyloans.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
    * 投标记录表
    */
@ApiModel(value="com-example-badyloans-pojo-TBid")
public class TBid implements Serializable {
    /**
    * id
    */
    @ApiModelProperty(value="id")
    private String id;

    /**
    * 借款id
    */
    @ApiModelProperty(value="借款id")
    private String borrowId;

    /**
    * 借款标题
    */
    @ApiModelProperty(value="借款标题")
    private String borrowTitle;

    /**
    * 投标金额
    */
    @ApiModelProperty(value="投标金额")
    private Long bidAmount;

    /**
    * 投标利息
    */
    @ApiModelProperty(value="投标利息")
    private Long bidInterest;

    /**
    * 年化率
    */
    @ApiModelProperty(value="年化率")
    private Integer yearRate;

    /**
    * 借款状态
    */
    @ApiModelProperty(value="借款状态")
    private Integer borrowState;

    /**
    * 投标人id
    */
    @ApiModelProperty(value="投标人id")
    private String bidUserId;

    /**
    * 投标人用户名
    */
    @ApiModelProperty(value="投标人用户名")
    private String bidUsername;

    /**
    * 投标时间
    */
    @ApiModelProperty(value="投标时间")
    private LocalDateTime bidTime;

    /**
    * 创建日期
    */
    @ApiModelProperty(value="创建日期")
    private LocalDateTime createTime;

    private static final long serialVersionUID = 1L;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getBorrowId() {
        return borrowId;
    }

    public void setBorrowId(String borrowId) {
        this.borrowId = borrowId;
    }

    public String getBorrowTitle() {
        return borrowTitle;
    }

    public void setBorrowTitle(String borrowTitle) {
        this.borrowTitle = borrowTitle;
    }

    public Long getBidAmount() {
        return bidAmount;
    }

    public void setBidAmount(Long bidAmount) {
        this.bidAmount = bidAmount;
    }

    public Long getBidInterest() {
        return bidInterest;
    }

    public void setBidInterest(Long bidInterest) {
        this.bidInterest = bidInterest;
    }

    public Integer getYearRate() {
        return yearRate;
    }

    public void setYearRate(Integer yearRate) {
        this.yearRate = yearRate;
    }

    public Integer getBorrowState() {
        return borrowState;
    }

    public void setBorrowState(Integer borrowState) {
        this.borrowState = borrowState;
    }

    public String getBidUserId() {
        return bidUserId;
    }

    public void setBidUserId(String bidUserId) {
        this.bidUserId = bidUserId;
    }

    public String getBidUsername() {
        return bidUsername;
    }

    public void setBidUsername(String bidUsername) {
        this.bidUsername = bidUsername;
    }

    public LocalDateTime getBidTime() {
        return bidTime;
    }

    public void setBidTime(LocalDateTime bidTime) {
        this.bidTime = bidTime;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", borrowId=").append(borrowId);
        sb.append(", borrowTitle=").append(borrowTitle);
        sb.append(", bidAmount=").append(bidAmount);
        sb.append(", bidInterest=").append(bidInterest);
        sb.append(", yearRate=").append(yearRate);
        sb.append(", borrowState=").append(borrowState);
        sb.append(", bidUserId=").append(bidUserId);
        sb.append(", bidUsername=").append(bidUsername);
        sb.append(", bidTime=").append(bidTime);
        sb.append(", createTime=").append(createTime);
        sb.append("]");
        return sb.toString();
    }
}